<template>
    <div class="app-container">
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="基础信息" name="first">
                <ClerkDetail :is-edit="isEdit" />
            </el-tab-pane>
            <el-tab-pane label="管理" name="four">
                <div>
                    <ClerkManager />
                </div>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
import ClerkDetail from './ClerkDetail.vue'
import ClerkManager from './components/ClerkManager.vue'

export default {
    components: { ClerkDetail, ClerkManager },
    data() {
        return {
            id: 0,
            isEdit: true,
            activeName: 'first'
        }
    },
    created() {
        this.id = this.$route.query.id
    },
    methods: {
        handleClick(e) {

        }
    }
}
</script>

<style>
</style>
